package com.lagou.service;

import com.github.pagehelper.PageInfo;
import com.lagou.pojo.Orders;
import com.lagou.pojo.OrdersVO;

import java.util.List;

public interface OrderService {

    //根据id查找订单
    public Orders queryById(Integer id);

    //分页查询订单
    public PageInfo<Orders> queryByPage(OrdersVO ordersVO);

    //查询商品信息
    public List<Integer> getProductIdListByOrderId(Integer id);
}
